'''
Created on 2012-1-17

@author: kom
'''
import web

class index:
    def __init__(self):
        settings = __import__("settings")
        self.render = settings.render
    def GET(self):
        return self.render.index2()

class t:
    def GET(self):
        settings = __import__("settings")
        self.render = settings.render
        jt=self.render.hello()
        self.render = web.template.render('templates')
        wt=self.render.hello()
        print type(jt)
        print "----------"
        print type(wt)
        return self.render.hello()

if __name__ =='__main__':
    print t